package com.jd.myaaaccount.entity;

import java.util.List;

public class User extends BaseEntity {

	private int number;
	private String name;
	private String email;
	private String password;
	private String token;
	private String phone;
	/**
	 * 拥有的消费类别
	 */
	public List<ConsumptionCategory> categories;

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public List<ConsumptionCategory> getCategories() {
		return categories;
	}

	public void setCategories(List<ConsumptionCategory> categories) {
		this.categories = categories;
	} 
}
